package com.test.socket.demo1;

import java.io.IOException;
import java.net.ServerSocket;

public class Server {

	public static void main(String[] args) {
		try {
			ServerSocket ss = new ServerSocket(33333);
			while(true) {
				new Thread(new Handle(ss.accept())).start();
			}
		} catch (IOException e) {
			e.printStackTrace();
		}
		
	}
}
